Optimal. Leaf size=194 \[ \frac {x (f x)^m \left (a+c x^{2 n}\right )^p \left (1+\frac {c x^{2 n}}{a}\right )^{-p} F_1\left (\frac {1+m}{2 n};-p,1;1+\frac {1+m}{2 n};-\frac {c x^{2 n}}{a},\frac {e^2 x^{2 n}}{d^2}\right )}{d (1+m)}-\frac {e x^{1+n} (f x)^m \left (a+c x^{2 n}\right )^p \left (1+\frac {c x^{2 n}}{a}\right )^{-p} F_1\left (\frac {1+m+n}{2 n};-p,1;\frac {1+m+3 n}{2 n};-\frac {c x^{2 n}}{a},\frac {e^2 x^{2 n}}{d^2}\right )}{d^2 (1+m+n)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 194, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {1576, 525, 524}
\begin {gather*} \frac {x (f x)^m \left (a+c x^{2 n}\right )^p \left (\frac {c x^{2 n}}{a}+1\right )^{-p} F_1\left (\frac {m+1}{2 n};-p,1;\frac {m+1}{2 n}+1;-\frac {c x^{2 n}}{a},\frac {e^2 x^{2 n}}{d^2}\right )}{d (m+1)}-\frac {e x^{n+1} (f x)^m \left (a+c x^{2 n}\right )^p \left (\frac {c x^{2 n}}{a}+1\right )^{-p} F_1\left (\frac {m+n+1}{2 n};-p,1;\frac {m+3 n+1}{2 n};-\frac {c x^{2 n}}{a},\frac {e^2 x^{2 n}}{d^2}\right )}{d^2 (m+n+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 524
Rule 525
Rule 1576
Rubi steps
\begin {align*} \int \frac {(f x)^m \left (a+c x^{2 n}\right )^p}{d+e x^n} \, dx &=\left (x^{-m} (f x)^m\right ) \int \left (\frac {d x^m \left (a+c x^{2 n}\right )^p}{d^2-e^2 x^{2 n}}+\frac {e x^{m+n} \left (a+c x^{2 n}\right )^p}{-d^2+e^2 x^{2 n}}\right ) \, dx\\ &=\left (d x^{-m} (f x)^m\right ) \int \frac {x^m \left (a+c x^{2 n}\right )^p}{d^2-e^2 x^{2 n}} \, dx+\left (e x^{-m} (f x)^m\right ) \int \frac {x^{m+n} \left (a+c x^{2 n}\right )^p}{-d^2+e^2 x^{2 n}} \, dx\\ &=\left (d x^{-m} (f x)^m \left (a+c x^{2 n}\right )^p \left (1+\frac {c x^{2 n}}{a}\right )^{-p}\right ) \int \frac {x^m \left (1+\frac {c x^{2 n}}{a}\right )^p}{d^2-e^2 x^{2 n}} \, dx+\left (e x^{-m} (f x)^m \left (a+c x^{2 n}\right )^p \left (1+\frac {c x^{2 n}}{a}\right )^{-p}\right ) \int \frac {x^{m+n} \left (1+\frac {c x^{2 n}}{a}\right )^p}{-d^2+e^2 x^{2 n}} \, dx\\ &=\frac {x (f x)^m \left (a+c x^{2 n}\right )^p \left (1+\frac {c x^{2 n}}{a}\right )^{-p} F_1\left (\frac {1+m}{2 n};-p,1;1+\frac {1+m}{2 n};-\frac {c x^{2 n}}{a},\frac {e^2 x^{2 n}}{d^2}\right )}{d (1+m)}-\frac {e x^{1+n} (f x)^m \left (a+c x^{2 n}\right )^p \left (1+\frac {c x^{2 n}}{a}\right )^{-p} F_1\left (\frac {1+m+n}{2 n};-p,1;\frac {1+m+3 n}{2 n};-\frac {c x^{2 n}}{a},\frac {e^2 x^{2 n}}{d^2}\right )}{d^2 (1+m+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 0.12, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(f x)^m \left (a+c x^{2 n}\right )^p}{d+e x^n} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.09, size = 0, normalized size = 0.00 \[\int \frac {\left (f x \right )^{m} \left (a +c \,x^{2 n}\right )^{p}}{d +e \,x^{n}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: HeuristicGCDFailed} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+c\,x^{2\,n}\right )}^p\,{\left (f\,x\right )}^m}{d+e\,x^n} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________